import request from "@/utils/request";

export function register(data) {
  return request.post("api/user/reg", data);
}
export function login(data) {
  return request.post("api/user/login", data);
}
